<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			function Student(name, age) {
				this.name = name;
				this.age = age;
				/* this.study = function() {
					console.log("学习");
				} */
			}

			var s = new Student("张三", 20);

			// Student.prototype 原型对象

			// s.__proto__ 原型对象

			Student.prototype.className = "29期";

			Student.prototype.study = function() {

			}

			// console.dir(Student.prototype);
			
			console.dir(s.__proto__);
			
			console.dir(s.__proto__.__proto__);
			
			console.dir(s.__proto__.__proto__.__proto__);
			
			console.dir(s);
		</script>

	</head>
	<body>
	</body>
</html>
